package edu.uj.petri.model;

import edu.uj.petri.commands.Restorable;
import java.io.Serializable;
import edu.uj.petri.commands.Memento;
import java.util.Iterator;

/**
 * @author Piotrek
 */
abstract class TransitionImpl implements Restorable, Serializable {
    public abstract void activate();

    public abstract void deactivate();

    public abstract boolean isActive();

    public abstract void addIncomingArc(Arc arc);
    
    public abstract void addOutgoingArc(Arc arc);

    public abstract void removeIncomingArc(Arc arc);

    public abstract void removeOutgoingArc(Arc arc);

    public abstract void setName(String name);

    public abstract String getName();

    public abstract Iterator<Arc> getIncomingArcsIterator();

    public abstract Iterator<Arc> getOutgoingArcsIterator();
}
